#include "mythread.h"
#include <QDebug>

MyThread::MyThread(QObject *parent) : QThread(parent)
{

}

void MyThread::run(){
    unsigned int count = 1;

    while (true) {
        QThread::sleep(1);
        emit timing(count++);
    }

    return;
}
